package com.ctshk.rpc.user.dto.es;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 *  酒店订单
 * </p>
 *
 * @author 李新科
 * @date 2021/5/27 20:39
 */
@Data
@ApiModel(value="酒店订单DTO实体")
public class HotelOrderEsDTO implements Serializable {

    @ApiModelProperty(value = "酒店-酒店名称")
    private String hotelName;

    @ApiModelProperty(value = "酒店-英文酒店名称")
    private String hotelEnName;

    @ApiModelProperty(value = "酒店-入住日期")
    @JsonFormat(pattern = "MM-dd")
    private LocalDate checkInDate;

    @ApiModelProperty(value = "酒店-离店日期")
    @JsonFormat(pattern = "MM-dd")
    private LocalDate checkOutDate;
}
